package com.zhaogang.entity;

import java.util.Date;

public class Order {
	
   
	@Override
	public String toString() {
		return "Order [id=" + id + ", userAccountId=" + userAccountId
				+ ", saleGoodsId=" + saleGoodsId + ", singlePrice="
				+ singlePrice + ", num=" + num + ", sumPrice=" + sumPrice
				+ ", recAddress=" + recAddress + ", recPhone=" + recPhone
				+ ", recName=" + recName + ", orderTime=" + orderTime
				+ ", state=" + state + "]";
	}

	private Integer id;

    private Integer userAccountId;

    private Integer saleGoodsId;

    private double singlePrice;

    private Integer num;

    private double sumPrice;

    private String recAddress;

    private String recPhone;

    private String recName;

    private Date orderTime;
    
    private Integer state;

    public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserAccountId() {
		return userAccountId;
	}

	public void setUserAccountId(Integer userAccountId) {
		this.userAccountId = userAccountId;
	}

	

    public Integer getSaleGoodsId() {
		return saleGoodsId;
	}

	public void setSaleGoodsId(Integer saleGoodsId) {
		this.saleGoodsId = saleGoodsId;
	}

	public double getSinglePrice() {
        return singlePrice;
    }

    public void setSinglePrice(double singlePrice) {
        this.singlePrice = singlePrice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }

    public String getRecAddress() {
        return recAddress;
    }

    public void setRecAddress(String recAddress) {
        this.recAddress = recAddress == null ? null : recAddress.trim();
    }

    public String getRecPhone() {
        return recPhone;
    }

    public void setRecPhone(String recPhone) {
        this.recPhone = recPhone == null ? null : recPhone.trim();
    }

    public String getRecName() {
        return recName;
    }

    public void setRecName(String recName) {
        this.recName = recName == null ? null : recName.trim();
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }
}